Title Banner


Technical Q&A's


GXPD 15 - QuickDraw GX 'ptyp' resources (1-May-95)


Q I need to fetch 'ptyp' resources using the FetchTaggedData routine, so I can disallow paper sizes which are too big for the current configuration of my printer. How can I do this?

A To fetch 'ptyp' resources with FetchTaggedData, override the gxDoesPaperFit message. In QuickDraw GX 1.0.x, we only send this message when it is time to configure the input-trays dialog. Version 1.1.1 of GX sends this message whenever a tray reload can occur for a mismatch dialog and for the input-trays dialog. This technique should suffice, since the only thing you need to restrict is the paper that's actually in your printer. For example, users should still be allowed to format for larger sizes and scale down to your printer's actual paper size during a paper mismatch.

Technical Support
Technical Q&As
Previous Question | Contents | Next Question

Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help